From: Adel Gadllah Date: Sat, 15 Feb 2014 12:05:46 +0000 (+0100) Subject: Fix position/size changed disconnects X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2791 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8f1b8909dcbf1237aef81c702cdd9f81e8b00441;p=gnome-shell.git Fix position/size changed disconnects Commit 3f7a989d38e changed the signals to match mutter api changes, but did not update disconnects, so do that. --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 1d319e8ad..a4b0c2599 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -295,7 +295,7 @@ const WindowClone = new Lang.Class({ else realWindow = child.source; - realWindow.disconnect(child._updateId); + realWindow.meta_window.disconnect(child._updateId); realWindow.disconnect(child._destroyId); })); }, diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index 3e71e9c65..7b7bc908e 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -176,7 +176,7 @@ const WindowClone = new Lang.Class({ this.actor.get_children().forEach(function(child) { let realWindow = child.source; - realWindow.disconnect(child._updateId); + realWindow.meta_window.disconnect(child._updateId); realWindow.disconnect(child._destroyId); }); },